#pragma once
#include "BaseState.h"
#include "GameState.h"
#include <sfml/Graphics.hpp>

/*
	PauseState.

*/

const int	P_Elements = 4;

class PauseState : public BaseState
{
public:
	PauseState();
	~PauseState();

	void		OnDraw(sf::RenderWindow&);
	void		OnIdle(const sf::Input&);

private:
	sf::Vector2f		m_posMenu;	//Top-Left Corner of the menu list
	int					m_selected;
	sf::Text			m_menu[P_Elements];
	sf::Text			m_shadows[P_Elements];
	sf::Color			m_cNormal;
	sf::Color			m_cSelected;
	sf::Color			m_cShadow;

	float				m_startTime;
	bool				m_startTimeSetted;
	sf::Clock			m_clock;

	GameState*			m_gameState;

	void		OnExit(void);

};
